package com.claimSettlement.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 投保人信息表实体类
 * 曹文韬 -- 2021-05-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("policyholders_info")
public class Policyholders implements Serializable {
    //投保人编号
    @TableId(value = "policyholdersId",type = IdType.AUTO)
    private int policyholdersId;
    //投保人姓名
    private String policyholdersName;
    //性别
    private String sex;
    //证件类型(1.身份证 2.军官证)
    private int credentialsType;
    //证件号码
    private String credenId;
    //联系电话
    private String telephone;
    //联系地址
    private String address;
}
